//
//  ViewController.h
//  testAudio
//
//  Created by zhenwei guan on 12-9-27.
//  Copyright (c) 2012年 hw. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>  
#import <AudioToolbox/AudioToolbox.h>
#import "RingtonePlayer.h"

@interface ViewController : UIViewController<UIPickerViewDelegate, UIPickerViewDataSource>
{
    UIButton * startBtn;
    UIButton * stopBtn;
    UIPickerView *picker;
    NSArray *pickerData;
    RingtonePlayer * ringtonePlayer;
}
@property (nonatomic, retain) RingtonePlayer * ringtonePlayer;

@property (nonatomic, retain) IBOutlet UIButton * startBtn;
@property (nonatomic, retain) IBOutlet UIButton * stopBtn;

@property (nonatomic, retain) IBOutlet UIPickerView * picker;
@property (nonatomic, retain) NSArray * pickerData;


- (IBAction)startPlay:(id)sender;
- (IBAction)stopPlay:(id)sender;

@end
